import { ISysBillRoute } from '/@/views/_admin/sysbillroute/api/interface';
import { ISysNotificationCategory } from '/@/views/_admin/sysnotificationcategory/api/interface';

export interface ISysNotification {
	ID?: string | null;
	Title: string | null;
	Content: string | null;
	RouteId: null;
	Route?: ISysBillRoute;
	CategoryId: null;
	Category?: ISysNotificationCategory;
	BusinessType: string | null;
	BusinessId: string | null;
	SenderName: string | null;
	ReceiverName: string | null;
	Status: '未读' | '已读';
	Priority: '低' | '普通' | '高' | '紧急';
	IsTop: boolean;
	SendTime: Date;
	ReadTime: Date | null;
}

export interface ISysNotificationVm {
	Entity: ISysNotification;
	ActionName?: string | null;
	IsMyApprove?: boolean | null;

}

export interface ISysNotificationView extends ISysNotification {

}

export interface ISysNotificationQuery {
	CategoryId?: string | null;
	Status?: number | null;
	Priority?: number | null;
	Receiver?: string | null;
}